package com.company.service.impl;


import com.company.service.IAccountService;

import java.util.*;

/**
 * @date : 2022/3/25 16:02
 */

public class MyAccountServiceImpl implements IAccountService {


    // 数组类型
    private String[] myStrs;
    // List类型
    private List<String> myList;
    // Set类型
    private Set<String> mySet;
    // Map类型
    private Map<String, String> myMap;
    // Properties类型
    private Properties myProps;

    // 省略setter方法和其它成员方法


    public String[] getMyStrs() {
        return myStrs;
    }

    public void setMyStrs(String[] myStrs) {
        this.myStrs = myStrs;
    }

    public List<String> getMyList() {
        return myList;
    }

    public void setMyList(List<String> myList) {
        this.myList = myList;
    }

    public Set<String> getMySet() {
        return mySet;
    }

    public void setMySet(Set<String> mySet) {
        this.mySet = mySet;
    }

    public Map<String, String> getMyMap() {
        return myMap;
    }

    public void setMyMap(Map<String, String> myMap) {
        this.myMap = myMap;
    }

    public Properties getMyProps() {
        return myProps;
    }

    public void setMyProps(Properties myProps) {
        this.myProps = myProps;
    }

    @Override
    public void saveAccount() {
        System.out.println("MyAccountServiceImpl");
    }

    @Override
    public String toString() {
        return "MyAccountServiceImpl{" +
                "myStrs=" + Arrays.toString(myStrs) +
                ", myList=" + myList +
                ", mySet=" + mySet +
                ", myMap=" + myMap +
                ", myProps=" + myProps +
                '}';
    }
}
